import request from "../request.js";
export default {
  // 查询分类
  getShopsy: () => request.post("/api/shop/getShopsy"),
  // 获取商品列表
  getShops: (params) => request.post("/api/shop/getShops", params),
  // 获取商品详情
  getShop: (params) => request.post("/api/shop/getShop", params),
  // 获取商品下单预览
  previewOrder: (params) => request.post("/api/shop/previewOrder", params),
  // 商城下单
  createOrder: (params) => request.post("/api/order/createOrder", params),
};
